package com.aspose.cells.b.a.b;

import java.awt.Paint;
import java.awt.TexturePaint;
import java.awt.geom.Rectangle2D.Float;

public class zx extends zc {
   private zj a;
   private com.aspose.cells.b.a.b.a.zi b;
   private int c;
   private float d;
   private float e;
   private float f;
   private float g;

   public zx(zj var1) {
      this(var1, 0, 0.0F, 0.0F, (float)var1.i(), (float)var1.h());
   }

   public zx(zj var1, zq var2) {
      this(var1, 0, var2.f(), var2.g(), var2.h(), var2.i());
   }

   public zx(zj var1, int var2, float var3, float var4, float var5, float var6) {
      this.b = null;
      this.a = var1;
      this.c = var2;
      this.d = var3;
      this.e = var4;
      this.f = var5;
      this.g = var6;
   }

   public Object e() {
      zx var1 = new zx(this.a.a(), this.c, this.d, this.e, this.f, this.g);
      if (this.b != null) {
         var1.b = this.b.b();
      }

      return var1;
   }

   public void f() {
   }

   public Paint g() {
      Float var1 = new Float(this.d, this.e, this.f, this.g);
      return this.a != null ? new TexturePaint(this.a.a, var1) : null;
   }

   public void h() {
   }

   public zj a() {
      return this.a;
   }

   public com.aspose.cells.b.a.b.a.zi b() {
      return this.b;
   }

   public void b(com.aspose.cells.b.a.b.a.zi var1) {
      this.b = var1.b();
   }

   public int c() {
      return this.c;
   }

   public void a(int var1) {
      this.c = var1;
   }

   public zq d() {
      return new zq(this.d, this.e, this.f, this.g);
   }
}
